package com.example.travel.Interface;



import com.example.travel.bean.User;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * Created by DELL on 2020/10/28.
 */

public interface UserInterface {
    public void insertUser(User user);
    public void deleteUserById(int user_id);
    public void updateUser(User user);
    public User getUserById(int user_id);
    public ArrayList<HashMap<String,Object>> getAllUsers();
    ArrayList<HashMap<String, Object>> getAllUsersByName(String userName);
}
